package zuo;

public  abstract class Shape {
    private double k;

    public double getK() {
        return k;
    }

    public void setK(double k) {
        this.k = k;
    }

    private double r;

    public double getR() {
        return r;
    }

    public void setR(double r) {
        this.r = r;
    }

    public double getZ() {
        return z;
    }

    public void setZ(double z) {
        this.z = z;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    private double z;
    private String color;
    public abstract void perimeter();//面积

    public abstract void area();//周长

    public abstract void SetColor();

}
